function drawBorderpoints (fig, color, blob)

x = blob.borderPoints(:,1);% + 2;
y = blob.borderPoints(:,2);% + 1;



%figure(fig);
do_hold = false;
if ishold
    do_hold = true;
end
    
plot(x,y,[color '.']);

if ~do_hold
    hold off;
end